<template>
    <router-link class="item" to="/goods-info">
        <img src="../assets/goods-item.png" alt="">
        <h2>商品标题，抱枕</h2>
        <p>
            <span>￥749.0</span>
            <del>￥799</del>
        </p>
    </router-link>
</template>

<script setup>

</script>

<style scoped>
img{width: 100%;}
h2{font-size: 14px;color: #000;}
span{color: #f00;margin-right: 5px;}
del{color: #ccc;}
</style>